from django import http
from django.http import JsonResponse
from django.shortcuts import render

# Create your views here.
from django.views import View

from apps.index.models import Gequ


# class GequView(View):
#
#     def get(self,request,gequ_id):
#
#         try:
#             gequ=Gequ.objects.get(id=gequ_id)
#         except Exception as e:
#             return http.HttpResponseBadRequest('歌曲id错误')
#         print(gequ)
#
#         return JsonResponse(gequ)
